
package fileby.ctrl.tabs;

import com.google.inject.Inject;
import fileby.model.ISourceHandler;

/**
 *
 * @author Jacob
 */
public class TabPanelListenerFactory implements ITabPanelListenerProvider {

    private ISourceHandler sourceHandler;

    @Inject
    public TabPanelListenerFactory(ISourceHandler sourceHandler) {
        this.sourceHandler = sourceHandler;
    }

    public TabPanelListener create() {
        return new TabPanelListener(sourceHandler);
    }

}
